<template>
    <div>
    <el-input placeholder="请输入关键字" style="width: 100%;" v-model="input" :id="search_id"></el-input>
    </div>
</template>

<script>
import bus from '@/eventBus/eventBus.js'
export default {
    data() {
    return {
      search_id: 'searchId',
      input: ''
    }
  },

  methods: {
    sendId() {
      bus.$emit('share_id', this.search_id)
    },
   
  },
  mounted() {
    this.sendId()
  }
}
</script>

<style>

</style>